Bookly\Lib\Entities\Payment B

Total Complexity 76
Dependencies 12
Dependents 20
Total lines 601
Lines of code 267
Logical lines of code 132
Comment lines 190
Methods 31
Properties 14

Methods 31

Method Rating Maintainability Complexity Lines of code
setDetailsFromOrder()
B
33 19 90
typeToString()
A
56 13 17
getPaymentData()
A
47 7 33
save()
S
60 4 13
statusToString()
S
66 4 8
paymentInfo()
S
59 3 13
setCartInfo()
S
66 2 9
getPaidType()
S
82 1 3
setUpdatedAt()
S
77 1 4
getUpdatedAt()
S
82 1 3
setCreatedAt()
S
77 1 4
getCreatedAt()
S
82 1 3
setToken()
S
77 1 4
getToken()
S
82 1 3
setStatus()
S
77 1 4
getStatus()
S
82 1 3
setPaidType()
S
77 1 4
getGatewayPriceCorrection()
S
82 1 3
setGatewayPriceCorrection()
S
77 1 4
getCouponId()
S
82 1 3
setPaid()
S
77 1 4
setTax()
S
77 1 4
getTax()
S
82 1 3
setTotal()
S
77 1 4
getTotal()
S
82 1 3
setType()
S
77 1 4
getType()
S
82 1 3
setDetails()
S
77 1 4
getDetails()
S
82 1 3
setCouponId()
S
77 1 4
getPaid()
S
82 1 3